<!DOCTYPE html>
<head>
<title>ResHopeApp</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="/static/style.css" rel="stylesheet" type="text/css" />
<!-- CuFon: Enables smooth pretty custom font rendering. 100% SEO friendly. To disable, remove this section -->
<script type="text/javascript" src="js/cufon-yui.js"></script>
<script type="text/javascript" src="js/droid_sans_400-droid_sans_700.font.js"></script>
<script type="text/javascript" src="js/cuf_run.js"></script>
<script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="js/radius.js"></script>
<!-- CuFon ends -->
</head>

<head>
<title>Project</title>
</head>
<body>
<div class="main">
  <div class="header">
    <h1>
      Project Name   
    </h1>
  </div>
  <ul>
    {% for task in tasklist %}
          <a href="volunteer?taskid={{ task.key }}"><button>Volunteer</button></a>
          <a href="assign?taskid={{ task.key }}"><button>Assign</button></a>
          <a href="delete?taskid={{ task.key }}"><button>Delete</button></a>
          <a href="taskdetail?taskid={{ task.key }}"><button>Details</button></a>
          <a href="taskedit?taskid={{ task.key }}"><button>Edit</button></a>
          <li><input type="checkbox">{{ task.nameOfTask }}</li>
    {% endfor %}

   
   <!-- <li><input type="checkbox"><a href="2task.html">Task 2</a></li>
    <li><input type="checkbox"><a href="3task.html">Task 3</a></li>
    <li><input type="checkbox"><a href="4task.html">Task 4</a></li> add back in if you want -->
  </ul>
    {% if tasklist %}
         <button>Submit</button>
    {% endif %}
    

  <form action ='/project' method='post'> 
    <input type="text" name="inputtaskname">
      <div class="clr"></div>
      <div class="clr"></div>
    <input type="submit" value="Add Task" />
  </form>

</div>
</body>
</html>
